
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />

    <title>登陆</title>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../static/layui/css/layui.css"  media="all">
    <!--link rel="stylesheet"  href="https://heerey525.github.io/layui-v2.4.3/layui-v2.4.5/css/layui.css" media="all"-->
    <link rel="stylesheet" href="../static/css/style.css">
</head>

<body>

<div class="login-main">
    <header class="layui-elip">登录</header>
<form th:action="@{/login}" method="post" class="layui-form">
    <div class="layui-form-item">
        <div class="layui-input-inline">
            <input type="text" name="username" lay-verify="required" placeholder="账号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-inline">
            <input type="password" name="password" lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-inline login-btn">
            <button class="layui-btn" lay-submit >立即提交</button>
        </div>
    </div>
    <hr/>
    <p><a th:href="@{/register}" class="fl">立即注册</a><a href="javascript:;" class="fr">忘记密码？</a></p><br/>
    <p><a th:text="${msg}" class="fl" style="color:red"></a><p/>
</form>
</div>

    </body>
</html>
